home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Heaven
/
Business Heaven.iso
/
network
/
doc_proc
/
subt.doc
< prev
next >
Wrap
Text File
|
1992-11-08
|
9KB
|
112 lines
*************************************
* *
* S U B T *
* ON THE MVS/XA OPERATING SYSTEM *
* *
*************************************
John S. Ward
03/18/93
EJECT
SUBJECT: NEW SUBT MACRO FOR SUBMITTING JCL FROM DATE:02/01/93
ISPF/PDF EDIT
Due to the new CPU time batch restrictions on the MVS system, a new
ISREDIT MACRO called SUBT has been written. It works very much like
the SUB command for submitting a JCL program from the edit panel in
ISPF/PDF. The purpose of SUBT is to simplify the task of specifying
a CPU time limit for a job you submit directly out of edit. With the
new batch time restrictions if time is not specified on the job card
of a batch job, the system will set time to the maximum value and your
job will not run until after-hours.
The way SUBT accomplishes this is by building a job card for you and
temporarily inserting it on top of your code. For this reason your
job stream can not already contain a job card. Unlike the SUB command
which checks for the existence of a job card before creating one, SUBT
will just insert another one. So if you already have a job card on
your JCL run stream, make sure you have coded the time parameter and
use the Sub command as usual.
When entered from the command line while in edit mode, SUBT builds
your job card for you with a default time of 5 CPU seconds. A job with
a time of 5 seconds or less has the maximum chance of beginning
execution quickly. See the member BATCHCPU in SYS.MVS.UPDATE for more
information on coding the time parameter for the batch job time
control. SUBT will also set the jobname on your job card to your
userid plus 'X' as the default, but you can override both of these
defaults if you wish.
The syntax for the SUBT is as follows:
SUBT - A job card will be created with your userid plus
'X' and a time value of 5 seconds. (both defaults)
SUBT B - A job card will be created with your userid plus
'B' and a time value of 5 seconds. (time default)
SUBT AA,45 - A job card will be created with your userid plus
'AA' and a time value of 45 seconds.
After you have entered the SUBT command, you will either be returned
to the EDIT panel (where you see the contents of your job stream) or
back to the member selection list in EDIT. The reason for this is that
when the SUBT command temporarily inserts a job card on top of your
JCL run stream, the changed dataset bit is set. If you have not made
any changes to the member before the SUBT command, then you will be
brought back to the member selection list. In this way you will not
be rewriting your member every time you use the SUBT command. If you
have made changes to the member before using the SUBT command, you will
be returned to the EDIT panel as normal.
NOTE: The Subt command is only supported for interactive use only.
This command is not to be used in the batch environment.